import Vue from 'vue'
import Vuex from 'vuex'

import mutations from './mutations.js'
import getters from './getters.js'

Vue.use(Vuex)

const store = new Vuex.Store({
	// 数据源
    state: {
		leaveUserNum:'',
		user:null,
		token:null,
	},
	mutations,
	getters
})
export default store